package com.jianduyuan.anhuixiaoneng.channel;

/**
 * @Description: flutter 通信常数
 * @Author: 下雨了
 * @CreateDate: 2021-10-25 16:19
 * @UpdateUser: 更新者
 * @UpdateDate: 2021-10-25 16:19
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public interface FlutterChannelConstant {
    // BasicMessageChannel 返回值
    public static final String BASIC_MESSAGE_CHANNEL_CODE = "100";
    // MethodChannel 返回值
    public static final String METHOD_CHANNEL_CODE = "200";
    // EventChannel 返回值
    public static final String EVENT_CHANNEL_CODE = "300";


    // BasicMessageChannel Name
    public static final String BASIC_MESSAGE_CHANNEL_NAME = "flutter_basic_message_channel";
    // MethodChannel Name
    public static final String METHOD_CHANNEL_NAME = "flutter_method_channel";
    // EventChannel Name
    public static final String EVENT_CHANNEL_NAME = "flutter_event_channel";

    // 获取缓存大小
    @Deprecated
    public static final String GET_CACHE_DATA = "getCacheData";
    // 设置显示通知冷却时间
    @Deprecated
    public static final String SET_MUTE_DURATION_SECONDS = "setMuteDurationSeconds";
    // 设置显示通知的数量
    @Deprecated
    public static final String SET_DISPLAY_NOTIFICATION_NUMBER = "setDisplayNotificationNumber";
    // 检查推送功能是否 启动
    @Deprecated
    public static final String IS_ENABLED = "isEnabled";

    // 打开定位服务设置
    public static final String OPEN_LOCATION_SERVICE_SETTING = "openLocationServiceSetting";
    // 打开通知服务设置
    public static final String OPEN_NOTIFICATION_SETTINGS = "openNotificationSettings";
    // 安装apk文件
    public static final String INSTALL_APK = "installApk";
}
